<!--
 * @Author: 鱿鱼溪学院
 * @Date: 2025-11-06 23:39:16
 * @LastEditTime: 2025-11-06 23:39:20
 * @LastEditors: 鱿鱼溪学院
 * @Description: 
 * @FilePath: \vue-cool\src\components\MainNav.vue
 * Copyright 鱿鱼溪学院 by edu v1.0
 * 天道酬勤
-->
<template>
  <div class="main-nav">
    <div class="nav-cell j-nav-cell">
      <a href="/?s=dhshouye">首页</a>
    </div>
    <div class="nav-cell j-nav-cell">
      <a href="/?s=dhshouye">肌肉</a>
    </div>
    <div class="nav-cell j-nav-cell">
      <a href="/?s=dhshouye">计划</a>
    </div>
  </div>
</template>

<style scoped>
.main-nav {
  width: 1150px;
  height: 44px;
  padding: 1px 0;
  padding-left: 50px;

  background: #9d1518;
  overflow: hidden;
  display: flex;
  align-items: center;
  z-index: 10;
}

.nav-cell {
  width: 89px;
  height: 44px;
  margin-left: -1px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-cell:hover {
  background-color: #fff;
  border-top: 1px solid #9d1518;
  border-bottom: 1px solid #9d1518;
  border-left: 1px solid #9d1518;
}

.nav-cell > a {
  display: block;
  width: 100%;
  line-height: 44px;
  text-align: center;
  color: #fff;
  background: url(../assets/img/shutiao.png) no-repeat 100% 50%;
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
}

.nav-cell:hover > a {
  color: #9d1518;
}
</style>
